#ifndef OSG_QT_APPLICATION_UTIL_H
#define OSG_QT_APPLICATION_UTIL_H

#include <osg/Camera>
#include <osg/GraphicsContext>

struct OSGRenderResizedCallback : public osg::GraphicsContext::ResizedCallback
{
    OSGRenderResizedCallback(osg::Camera* masterCamera);
    virtual void resizedImplementation(osg::GraphicsContext* gc, int x, int y, int width, int height);
protected:
    osg::observer_ptr<osg::Camera> mMasterCamera;
};



#endif